package com.eazytec.efs.common;

import java.io.File;

/**
 * ${DESCRIPTION}
 *
 * @author Zhaozx
 * @create 2017-10-16 15:23
 **/
public class DownBean {

    static long breakPoints = 0L;
    static ProgressDownloader downloader;
    static File file;
    static long totalBytes = 0L;
    static long contentLength = 0L;
    static String PACKAGE_URL = "";

    public static long getBreakPoints() {
        return breakPoints;
    }

    public static void setBreakPoints(long breakPoints) {
        DownBean.breakPoints = breakPoints;
    }

    public static ProgressDownloader getDownloader() {
        return downloader;
    }

    public static void setDownloader(ProgressDownloader downloader) {
        DownBean.downloader = downloader;
    }

    public static File getFile() {
        return file;
    }

    public static void setFile(File file) {
        DownBean.file = file;
    }

    public static long getTotalBytes() {
        return totalBytes;
    }

    public static void setTotalBytes(long totalBytes) {
        DownBean.totalBytes = totalBytes;
    }

    public static long getContentLength() {
        return contentLength;
    }

    public static void setContentLength(long contentLength) {
        DownBean.contentLength = contentLength;
    }

    public static String getPackageUrl() {
        return PACKAGE_URL;
    }

    public static void setPackageUrl(String packageUrl) {
        PACKAGE_URL = packageUrl;
    }
}
